package weapons;

import java.util.LinkedList;

public class WeaponSammlung {
 
    private LinkedList<Weapon> weapons = new LinkedList<Weapon>();
    
    public void add(Weapon wp){
        weapons.add(wp);
    }
    
    public void remove(Object o){
        weapons.remove(o);
    }
    
    public void remove(int index){
        weapons.remove(index);
    }
    
    public Weapon get(int index){
        return weapons.get(index);
    }
    
    public int size()
    {
        return weapons.size();
    }
}
